#pragma once
#include<iostream>
#include<fstream>
#include<string>
#include<sstream>
#include <iomanip>
using namespace std;
class Book
{
private:
    string Id;
	string Name;
	string Author;
	string Cat;
    string Location;
	string Addr;
    string Time;
	string Price;
public:
	Book();
	~Book();
	Book (string a,string b,string c,string d,string e,string f,string g,string h);
	string get_Id();
	string get_Name();
	string get_Author();
	string get_Location();
	string get_Cat();
	string get_Addr();
    string get_Time();
	string get_Price();
    void change(string a,string b,string c,string d,string e,string f,string g,string h);
    void display();
	int length();
	bool canopen();
	void write();
	void read(int n);
};
